﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>nextanalytics</title>
    <link rel='STYLESHEET' type='text/css' href='images/myStyle.nxa.css' /> 
</head>
<body>
        <script language="javascript">
            function over(id)
            {
                var elem = document.getElementById( id );
                if( elem != null )
                    elem.src = 'Images/CopperGoBtnOver.png';
            }
            function out(id)
            {
                var elem = document.getElementById( id );
                if( elem != null )
                    elem.src = 'Images/CopperGoBtn.png';
            }
        </script>
        
        
<table style="background-image:url('Images/CopperBackPanel.png')">
<tr>
<td style="width:50px">            <a href='http://www.nextanalytics.com' onmouseover="over('1')" onmouseout="out('1')" >
                <img width='100px' height='80px' name='1' src='Images/CopperGoBtn.png' style="border:0px" /><br />
                </a><label style="position:relative; top:0px; left:30px; font-weight:bold">Consultant</label></td>
                
<td style="width:50px">            <a href='http://www.nextanalytics.com' onmouseover="over('2')" onmouseout="out('2')" >
                <img width='100px' height='80px' name='2' src='Images/CopperGoBtn.png' style="border:0px" /><br />
                </a><label style="position:relative; top:0px; left:30px; font-weight:bold">ISV</label></td>

<td style="width:50px">            <a href='http://www.nextanalytics.com' onmouseover="over('3')" onmouseout="out('3')" >
                <img width='100px' height='80px' name='3' src='Images/CopperGoBtn.png' style="border:0px" /><br />
                </a><label style="position:relative; top:0px; left:30px; font-weight:bold ">OEM</label></td>

</tr>
</table>


        <h2>Introduction</h2>
        <p>
            Welcome to an open source user interface. This is intended as a
            training area and as base upon which to build or integrate with your
            own applications.
        </p>
        <p>
            You will see two things being demonstrated. 
        </p>
        <ol>
            <li>Examples of analytics</li>
            <li>Examples of java being used to display the results of analytics</li>
        </ol>


        <p>
            While you're reading thru these integration examples, please refer to our
            <a href='http://www.nextanalytics.com/support'>free support forums</a>
            for assistance - don't hesitate to ask questions there.  
            

            
            If you playing with analytic scripting, then 
            search our site for examples and refer to the 
            <a href='http://www.nextanalytics.com/analytics/Project/'>reference</a> 
            for assistance.  Again, don't hesitate to ask questions in the free support forums.
                
                For those of you who have a budget and are on a deadline, 
                <a href='http://www.nextanalytics.com/component/page,shop.browse/option,com_virtuemart/Itemid,360/'>
                <b>Paid Support</b></a> is available.
        </p>
        
        <h2>Portal Integration Examples, and Explore Results of Analytic Scripts...</h2>
        <p>
            This first section is for the portal integrators. These people need to
            incorporate the prompting of analytics into a portal user interface. 
            Once you see something similar to what you need, then you can locate that 
            portion in the code and integrate it into your application.
        </p>
        <table>
            <tr><td>Single project (from prompt)</td>
            <td><a href='OpenChooseProject.aspx'>Go</a> </td></tr>
            <tr><td>All projects, all at once</td>
            <td><a href='OpenPlayProjectList.aspx'>Go</a></td></tr>
        </table>
        
        <h2>Get the Results in XML and then into your own Custom Formats</h2>
        <p>
            This next section is to demonstrate various ways to get the data. If all you
            want is html output, then you can use the open-source java from the previous 
            examples. However, this next technique is more versatile.  You can create not only your
            own html, but any other data format you want without even writing a line of
            java code. 
        </p>
        <p>
            First, we provide open source to convert the data into XML. For many implementors, 
            you might want to customize
            this XML to suit something your application is already programmed to receive.
            Second, we show you how to run the XML through an XSL parser.  This allows 
            you to convert the XML into an new form of data.  Since XSL is text based,
            this means you can experiment with the output of the data without even 
            looking at java. We've provided a simple XSL file that converts the data to
            html for you to start with.
        </p>
        
        <table>
            <tr><td>All projects, all at once, plain XML</td>
            <td><a href='OpenProjectToXML.aspx'>Go</a></td></tr>
            <tr><td>All projects, all at once, first XML then processed by XSL</td>
            <td><a href='OpenProjectToXML.aspx?xslFile=XslSample.xsl'>Go</a></td></tr>
        </table>
        
        <h2>Customized Analytics</h2>
        <p>
            This next portion is for those interested in modifying the example analytics in
            something customized.  This capability allows you to 
            edit the analytic scripts on your own computer and submit them to be run
            on the server.  The alternative, if you have write access to the server, would be to 
            put the script files into your projects directory and then run them using the 
            "Single project" option to view them.
        </p>
        
        <table>
            <tr><td>Upload a script from your computer and see the results after running on server</td>
            <td><a href='EnterScript.aspx'>Go</a></td></tr>
            
            <tr><td style='width:40%'>You can learn some of the commands by experimenting with our ASP.NET based authoring environment. 
            If you don't have it installed, you can always run it from here. Then you can copy/paste your
            work to files on your own computer.</td>
            <td><a href='http://developer.nextanalytics.com/demo/OpenChooseProject.aspx'>Go</a></td></tr>
        </table>

        <h2>Documentation for the Open Source</h2>

        <p>
            There are three main java modules.  Each are completely free open-source 
            servlets written in java.
        </p>
        <ul>
            <li><em>OpenChooseProject</em> .  This servlet has a select box from which
            you choose one of the server based projects.  When you click the button, the project
            is executed and the results are displayed in html in your browser.</li>
            <li><em>OpenPlayProjectList</em> This servlet executes all projects on the 
            server and sends the results in html in your browser</li>
            <li><em>OpenProjectToXML</em> This servlet executes all projects on the 
            server and sends the results in XML to your browser. It supports an optional param 
            which routes the xml through an Xsl file named XslSample.xsl.  
            Being able to modify XslSample.xsl is very useful for a non-java programmer 
            to customize output to suit their application needs.</li>
        </ul>
        
        <p>
            We think these three servlets cover the needs for the unix web authors 
            to know how to integrate our product into their environment and architecture.
            If you have any comments or suggestions, please don't hesitate to let us know by
            participating in the <a href='http://www.nextanalytics.com/support'>free support forums</a>!
        </p>
        
</body>
</html>
